package com.hysf.ioc.pro1.test;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

public class App2 {
	public static void main(String[] args) {
//		ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
//		ApplicationContext context = new FileSystemXmlApplicationContext("D:\\maven_repository\\com\\gitTest\\spring\\src\\main\\resources\\applicationContext.xml");
//		Product apple = context.getBean("apple", Product.class);
	}
}
